using System;
using System.Collections.Generic;
using Dict.DataModel;

namespace Dict.Dao
{
    public class TableExpeditionStoryDao:DaoBase<TableExpeditionStory>
    {
        public override void AddPrimaryIndex(TableExpeditionStory model)
        {
            cachePrimary[model.storyId.ToString()] = model;
        }

        public override string GetFileName()
        {
            return "TableExpeditionStory.txt";
        }

        protected override TableExpeditionStory ParseRowData(string[] rowData)
        {
            TableExpeditionStory data = new TableExpeditionStory();
			data.storyId = rowData [0];
			data.rewardId = rowData [1];
			data.storyDesc = rowData [2];

            return data;
        }



    }

}
